﻿using System;
using System.Collections.Generic;
using System.Text;
using WordService.Model;

namespace WordService.Business.IBLL
{
    public interface IInstitutionBLL
    {
        /// <summary>
        /// 创建一个机构
        /// </summary>
        /// <param name="institution"></param>
        /// <returns></returns>
        Institution CreateInstitution(Institution institution);
        /// <summary>
        /// 批量创建机构
        /// </summary>
        /// <param name="institutions"></param>
        /// <returns></returns>
        Boolean CreateInstitutions(IList<Institution> institutions);
        /// <summary>
        /// 查询机构
        /// </summary>
        /// <param name="keywordName"></param>
        /// <param name="authorName"></param>
        /// <param name="year"></param>
        /// <returns></returns>
        IList<Model.Institution> QueryByCondition(string keywordName, string authorName, string year);
    }
}
